home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20041116-20060924 / 000157_eravin@panix.com_Mon Oct 3 14:46:33 2005.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!not-for-mail
  2. From: eravin@panix.com (Ed Ravin)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Weird behavior from Kermit 95
  5. Date: Mon, 3 Oct 2005 00:23:28 +0000 (UTC)
  6. Organization: All Watched Over by Machines of Loving Grace
  7. Lines: 32
  8. Message-ID: <dhptm0$ceq$1@reader1.panix.com>
  9. References: <ur7b4rpg9.fsf@att.net> <dhp6eq$7b9$2@blue.rahul.net>
  10. NNTP-Posting-Host: panix5.panix.com
  11. X-Trace: reader1.panix.com 1128299008 12762 166.84.1.5 (3 Oct 2005 00:23:28 GMT)
  12. X-Complaints-To: abuse@panix.com
  13. NNTP-Posting-Date: Mon, 3 Oct 2005 00:23:28 +0000 (UTC)
  14. X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15401
  16.  
  17. >From somewhere in cyberspace, dold@XReXXWeird.usenet.us.com said:
  18. >Thomas A. Horsley <tom.horsley@att.net> wrote:
  19. >> Every once in a while, I see this happen when I try to exit from a Kermit 95
  20. >> session that has been connected with ssh and had some local port forwarding
  21. >
  22. >I have been on a couple of Linux systems that won't exit if there is a
  23. >background program running.  Other OSs might warn that there is a
  24. >background process, but everything dies if you exit again.
  25.  
  26. This happens to me with Linux boxes all the time if I have a root session
  27. and have restarted some daemon with "/etc/rc.d/init.d/blahd restart".  The
  28. Linux rc.d scripts don't redirect stdin/stdout/stderr so when you log
  29. out, the ssh session stays up until those file descriptors get closed.
  30.  
  31. Restarting the daemon with ">/dev/null 2>&1 </dev/null" fixes this.  Fixing
  32. the Linux startup scripts would be a better way to fix it.
  33. >
  34. >With Linux, it just hangs.  This usually happens with a nohup that was left
  35. >behind intentionally.
  36. >
  37. >Users not running Kermit complain about the same thing.
  38. >
  39. >---
  40. >Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8,-122.5
  41. >
  42.  
  43.  
  44. -- 
  45. Ed Ravin          | "The law, in its majestic equality, forbids the rich as
  46.                   |  well as the poor to sleep under bridges, to beg in the
  47.  eravin@          |  streets, and to steal bread."
  48.  panix.com        |               --Anatole France, Le Lys Rouge [1894]